<?php
/**
 * Created by PhpStorm.
 * User: luo
 * Date: 2018/9/26
 * Time: 21:56
 */

namespace app\filters\auth;

use yii\web\UnauthorizedHttpException;


class HttpBearerAuth extends \yii\filters\auth\HttpBearerAuth
{
    public function handleFailure($response)
    {
        throw new UnauthorizedHttpException('您的登录已失效！');
    }
}